﻿using B.S.DataBase.MyProject.Domain.Sales;
using B.S.DataBase.MyProject.Domain.ViewModels;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;


namespace T.E.ERP.Read.API.Applicantions.Command.SaleOrderInfoCommand
{
    public class GetSaleOrderInfoListCommand:IRequest<APIResult<List<View_SaleOrderInfo>>>
    {  
        /// <summary>
        /// 合同号
        /// </summary>
        public string? Contract { get; set; }
        /// <summary>
        /// 单据编码
        /// </summary>
        public string? Id { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int pageIndex {  get; set; }
        /// <summary>
        /// 页数
        /// </summary>
        public int pageSize {  get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? CustomerName { get; set; }
        /// <summary>
        /// 销售人员
        /// </summary>
        public string? SaleUser { get; set; }
        /// <summary>
        /// 18销售类型[1 国内品牌  2 外购成品  3 外购原料  4  自接订单  5 自制销售  6 客供销售]
        /// </summary>
        public int? SaleType { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? MaterialsName { get; set; }

    }
}
